package com.zhao.entity;

import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * Description: <br/>
 *
 * @author 柒柒
 * @version : 1.0
 * @ClassName MiddleStudent <br/>
 * Copyright (c) ，2020 ， 赵 <br/>
 * Date： 2020/11/30 14:43
 */

@Data
@NoArgsConstructor
public class MiddleStudent {
    /**
     * 学生名
     */
    private String name;
    /**
     * 考分
     */
    private double score;

    public MiddleStudent(String name, double score) {
        this.name = name;
        this.score = score;
    }

    public String getName() {
        return name;
    }

    public double getScore() {
        return score;
    }
}
